/*
 * SturaMain.java
 *
 * Copyright (C) 2014 Fabian Wenzelmann
 *
 * This file is part of stura_voting.
 *
 * stura_voting is free software: you
 * can redistribute it and/or modify it under the terms of the
 * GNU General Public License as published by the Free Software Foundation,
 * either version 3 of the License, or (at your option) any later version.
 *
 * stura_voting is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
 * Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with stura_voting.
 *
 * If not, see <http://www.gnu.org/licenses/>.
 */

package de.stura;

import de.stura.median.*;
import de.stura.schulze.*;
import java.util.ArrayList;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;

/**
 * The main class that shows the main frame.
 */
public class SturaMain {
    public static void main(String[] args) {
        String text = "Copyright (C) 2014 Fabian Wenzelmann <fabianwenzelmann@gmail.com>\n\n" +
            "License: stura_voting is free software: you can redistribute it and/or modify\n" +
            "it under the terms of the GNU General Public License as published by the\n" + 
            "Free Software Foundation, either version 3 of the License, or\n" + 
            "(at your option) any later version.\n\n" +
            "stura_voting is distributed in the hope that it will be useful, but\n" + 
            "WITHOUT ANY WARRANTY; without even the implied warranty of\n" + 
            "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" + 
            "See the GNU General Public License for more details.\n\n" +
            "You should have received a copy of the GNU General Public License\n" + 
            "along with stura_voting.\n\n" +
            "If not, see <http://www.gnu.org/licenses/>.";
        System.out.println(text);
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new SturaMainFrame().setVisible(true);
            }
        });
    }
}
